package com.zwc.factory;

public class ZhengFangXing implements TuXing {
    private Integer num;
    public ZhengFangXing(Integer num){
        this.num = num;
    }
    @Override
    public Integer calculate() {
        return num * num;
    }
}
